package com.zhangxin.designmode.fiveprinciple.lod.before;

/**
 *
 * @author zhangxin
 * @date 2022/4/15
 */
public class HtmlDownloader {
    private NetworkTransporter transporter;

    public Html downloadHtml(String url){
        Byte[] rawHtml = transporter.send(new HtmlRequest(url));
        return new Html(rawHtml);
    }
}
